@import "./../../assets/styles/colors";
@import "./../../assets/styles/common";

.daily-special {
    .ds-title {
        font-weight: bold;
    }

    .progress-view {
        position: relative;
        height: 45px;

        .number-text {
            position: absolute;
            right: 0;
            bottom: 12px;
        }

        .progress-bar {
            height: 6px;
            background: #f7f7f7;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            border-radius: 2px;

            .progress-line {
                background: $primary;
                height: 6px;
                border-radius: 2px;
            }
        }
    }

    .ds-list {
        height: 900px;
        margin-bottom: 30px;
        .swiper-item {
            overflow: unset;
            height: 900px;
        }

        .ds-list-item {
            padding: 15px;
            width: 440px;

            .cover {
                border-radius: 10px;
                box-shadow: 20px 20px 40px #dcdcdc;

                .cover-img {
                    width: 440px;
                    height: 440px * $cover-ratio;
                    border-radius: 10px;
                    vertical-align: middle;
                }
            }

            .info {
                display: flex;
                flex-direction: column;

                .desc {
                    height: 80px;
                    line-height: 40px;
                }
            }

        }

        .last {
            padding-right: 40px;
            padding-left: 50px;
        }

        .first {
            padding-left: 40px;
        }

        .center {
            padding-left: 50px;
        }
    }
}

.m2 {
    margin: 16px auto 20px auto;
    width: 320px;
    height: 200px;
    background: linear-gradient(-18deg, #ffaf25, #ffc259);
    border-radius: 10px;
}

.m2_tit {
    font-size: 15px;
    color: #fff;
    margin-left: 16px;
    padding-top: 13px;
    margin-bottom: 10px;
}

.coupon-line {
    position: relative;
    width: 209px;
    margin: auto;
    border-top: 2px dashed #fff;
}

.coupon-line .inner {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    z-index: 99;
    top: -7px;
}
